package org.darkforest.model;

import java.util.List;

import org.darkforest.common.util.Page;

public class ArticleClass extends Page {
    private Integer acId;

    private String acCode;

    private String acName;

    private Integer acParentId;

    private Integer acChildrenId;  // 如有有子节点就设为1， 否则设为 0

    private Integer acSort;

    private List<Article> articles;

    public List<Article> getArticles() {
        return articles;
    }

    public void setArticles(List<Article> articles) {
        this.articles = articles;
    }

    public Integer getAcId() {
        return acId;
    }

    public void setAcId(Integer acId) {
        this.acId = acId;
    }

    public String getAcCode() {
        return acCode;
    }

    public void setAcCode(String acCode) {
        this.acCode = acCode == null ? null : acCode.trim();
    }

    public String getAcName() {
        return acName;
    }

    public void setAcName(String acName) {
        this.acName = acName == null ? null : acName.trim();
    }

    public Integer getAcParentId() {
        return acParentId;
    }

    public void setAcParentId(Integer acParentId) {
        this.acParentId = acParentId;
    }

    public Integer getAcChildrenId() {
        return acChildrenId;
    }

    public void setAcChildrenId(Integer acChildrenId) {
        this.acChildrenId = acChildrenId;
    }

    public Integer getAcSort() {
        return acSort;
    }

    public void setAcSort(Integer acSort) {
        this.acSort = acSort;
    }
}